Typography
Display
Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a display heading—a larger, slightly more opinionated heading style.
Class | Example |
---|---|
.display-1 | Example |
.display-2 | Example |
.display-3 | Example |
.display-4 | Example |
.display-5 | Example |
.display-6 | Example |
Headings
Class | Tag | Example |
---|---|---|
.h1 | h1 | Example |
.h2 | h2 | Example |
.h3 | h3 | Example |
.h4 | h4 | Example |
.h5 | h5 | Example |
.h6 | h6 | Example |
Font Sizes
The base font size is 16px. All other font sizes are based on this value.
Class | Equivalent pixels | Example |
---|---|---|
.fs-3xs | 10 | Example |
.fs-xxs | 12 | Example |
.fs-xs | 13 | Example |
.fs-sm | 14 | Example |
.fs-md | 16 | Example |
.fs-lg | 18 | Example |
.fs-xl | 20 | Example |
.fs-xxl | 22 | Example |
.fs-3xl | 24 | Example |
.fs-4xl | 32 | Example |
Font Weights
Kyber's predefined font weight classes allow developers and designers to easily apply different font weights to text elements, providing fine-grained control over typography and emphasizing or de-emphasizing text as needed.
Class | Equivalent Weight | Example |
---|---|---|
.fw-light | 200, 300 | Example |
.fw-normal | 400 | Example |
.fw-medium | 500 | Example |
.fw-semibold | 600 | Example |
.fw-bold | 700 | Example |
Links
Standalone hyperlinks that do not use the <Link>
component can be styled with the .klink
class. Which will apply the expected text decoration and hover styling.
Result
Loading...
Live Editor